﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>新增</title>
	<meta charset="utf-8" />
    <script src="../../../js/jquery-1.7.2.min.js"></script>
    <!--easyui-->

    <link href="../../../css/themes/default/easyui.css" rel="stylesheet" />
    <link href="../../../css/themes/icon.css" rel="stylesheet" />
    <script src="../../../js/jquery.easyui.min.js"></script>
    <!--数据访问-->
    <!--页面自定义-->
    <script src="../../common/common.js"></script>
    <script src="js/add.js"></script>
    <link href="../../common/common.css" rel="stylesheet" />
</head>
<body>
<div class="add_content">
    <div class="content_left">
        <div class="imgClass">
            <div class="divImg img1" >
                <img src="../../images/u76.png" />
                <img src="../../images/u78.png" class="img3" />
                <span class="spanWen">采购信息管理</span>
            </div>
            <div class="divImg img2">
                <img src="../../images/u82.png" />
                <img src="../../images/u84.png" style="left:10px;" class="img3" />
                <span class="spanWen" style=" left: 43px;">采购成本管理</span>
            </div>
        </div>
        <div class="textClass">
         <div class="tab_menu" title="采购信息管理">
                <div class="info_head">
                    <div class="info_title"><span>采购信息表</span></div>
                    <div class="saveimg">
                        <img src="../../images/u133.png" />
                        <img src="../../images/u121.gif" class="img3 save" />
                        <span class="spanWen textsave" id="btnSave0">保存</span>
                    </div>
                </div>
                <div class="info_content">
                    <div class="info_content_left">
                        <div><div><span class="span">代理协议合同号:</span></div><select class="select_opt"><option value="15XM2SU710A397HK-SC">15XM2SU710A397HK-SC</option></select></div>
                        <div><div><span class="span">油种:</span></div><select class="select_opt"><option value="15XM2SU710A397HK-SC">15XM2SU710A397HK-SC</option></select></div>
                        <div><div><span class="span">贴水:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">贸易条款:</span></div><select class="select_opt"><option value="15XM2SU710A397HK-SC">15XM2SU710A397HK-SC</option></select></div>
                        <div>
                            <div><span class="span">装期/到货期:</span></div>
                            <input id="装期" type="text" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser,editable: false" />-<input id="到货期" type="text" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser,editable: false" />
                        </div><div><div><span class="span">计价期:</span></div><input id="计价期" type="text" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser,editable: false" /></div>
                        <div><div><span class="span">提单日:</span></div><input id="提单日" type="text" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser,editable: false" /></div>
                        <div><div><span class="span">提单量（桶）:</span></div><input class="input" type="text" /></div>          <div><div><span class="span">油轮名:</span></div><input class="input" type="text" /></div>
                    </div>
                    <div class="info_content_right">
                        <div><div><span class="span">代理商:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">挂靠油种:</span></div><select class="select_opt"><option value="15XM2SU710A397HK-SC">15XM2SU710A397HK-SC</option></select></div>
                        <div><div><span class="span">贴水描述:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">计价公式:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">预计到岸月:</span></div><input id="预计到岸月" type="text" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser,editable: false" /></div>
                        <div><div><span class="span">付款期:</span></div><input id="付款期" type="text" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser,editable: false" /></div>
                        <div><div><span class="span">提单量（吨）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">到货港口:</span></div><select class="select_opt"><option value="15XM2SU710A397HK-SC">15XM2SU710A397HK-SC</option></select></div>
                        <div><div><span class="span">WS点:</span></div><input class="input" type="text" /></div>
                    </div>
                </div>
                <div class="beizhu">
                    <div class="text_beizhu"><span class="span">备注：</span></div>
                    <div class="_textarea"><textarea id="_textArea"></textarea></div>
                </div>
            </div>
            <div class="tab_menu" title="采购成本管理" >
                <div class="info_head">
                    <div class="info_title"><span>采购成本核算单</span></div>
                    <div class="saveimg">
                        <img src="../../images/u133.png" />
                        <img src="../../images/u121.gif" class="img3 save" />
                        <span class="spanWen textsave" id="btnSave1">保存</span>
                    </div>
                </div>
                <div class="info_content">
                    <div class="info_content_left">
                        <div><div><span class="span">基准价（美元/桶）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">运费（美元/桶）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">保险费（美元/桶）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">合同价（美元/桶）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">结算总额（美元）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">尾款（美元）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">装卸费（元）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">港建费（元/吨）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">报关代理费（元）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">收储费总计（元）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">采购成本总计（元）:</span></div><input class="input" type="text" /></div>
                    </div>
                    <div class="info_content_right">
                        <div><div><span class="span">贴水（美元/桶）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">操作费（美元/桶）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">代理费（元/吨）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">结算价（美元/桶）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">付款日期:</span></div><input id="计价期" type="text" class="easyui-datebox" data-options="formatter:myformatter,parser:myparser,editable: false" /></div>
                        <div><div><span class="span">油污基金（元）:</span></div><input class="input" type="text" /></div>
                        <div><div><span class="span">商检费:</span></div><input class="input" type="text" /></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="content_right">
        <div class="info_head_R">
                <div class="upFile">
                 <img src="../../images/u5.png" />
                 <img src="../../images/u7.gif" class="img3 _upfile" />
                 <span class="spanWen textfile">上传报告附件</span>
                </div>
        </div>
        <div class="info_content_R">
            <div class="info_title_R">
                <div>
                    <span class="info_title_R_span">相关附件:</span>
                </div>
            </div>
        </div>
    </div>
</div>
    <script type="text/javascript">
        // 日期控件格式化
        function myformatter(date) {
            var y = date.getFullYear();
            var m = date.getMonth() + 1;
            var d = date.getDate();
            return y + '-' + (m < 10 ? ('0' + m) : m) + '-' + (d < 10 ? ('0' + d) : d);
        }
        function myparser(s) {
            if (!s) return new Date();
            var ss = (s.split('-'));
            var y = parseInt(ss[0], 10);
            var m = parseInt(ss[1], 10);
            var d = parseInt(ss[2], 10);
            if (!isNaN(y) && !isNaN(m) && !isNaN(d)) {
                return new Date(y, m - 1, d);
            } else {
                return new Date();
            }
        }
        window.onerror = function () { return true; } 
    </script>
</body>
</html>
